package com.ruoyi.worker.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * @ClassName: AttendanceGroup
 * @Description:
 * @Author: songxin
 * @Date: 2021/9/8 17:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AttendanceGroup  extends BaseEntity {

    private static final long serialVersionUID = 1L;
    private Long id;
    @Excel(name = "姓名", width = 15)
    private String workerName;
    @Excel(name = "性别", readConverterExp = "1=男,2=女")
    private int sex;
    @Excel(name = "身份证号", width = 25)
    private String idCard;
    @Excel(name = "电话", width = 20)
    private String phoneCode;


    @Excel(name = "招聘渠道", width = 30)
    private String companyName;
    @Excel(name = "班次", width = 15)
    private String timeShiftName;

    @Excel(name = "班组", width = 15)
    private String groupName;

    @Excel(name = "备注", width = 15)
    private String remark;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "出勤日期", dateFormat = "yyyy-MM-dd")
    private Date workTime;

    private String staffSign;

    @Excel(name = "用工需求单")
    private String orderCode;
    //导入次数
    private Integer importNum;

    //数据状态
    private Integer statusFlag;
    //考勤状态
    private Integer attendanceFlag;

    //考勤确认状态
    private Integer checkFlag;

    private Integer timeShift;

    //渠道商id
    private Integer companyId;

    //班组（岗位） 卸车岗
    private String groupCode;

}
